<?xml version="1.0" encoding="UTF-8"?>
<!--
To change this template, choose Tools | Templates
and open the template in the editor.
-->
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
     "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:h="http://java.sun.com/jsf/html"
      xmlns:ui="http://java.sun.com/jsf/facelets">
    <h:head>
        <title>IV1201 Project - Group 08</title>
        <meta name="keywords" content="IV1201 Project work for group 08."/>
        <meta name="author" content="Mustafa Hamra, Andreas Norberg, 
                                            Christian Castillo"/>
        <meta http-equiv="content-type" content="text/xhtml; charset=UTF-8"/>
        <link type="text/css" rel="stylesheet" href="CSS/screen.css"
                                                media="screen" />
    </h:head>
    <h:body>
        <div id="container">
            <div id="top">
                <div id="header">

                    <br/><br/><br/><br/><br/>

                    <div id="headerText">
                        IV1201<br/>
                        Group 8
                    </div>
                </div>

                <div id="menu">
                    <a href="index.xhtml">Home</a>
                    <a href="login.xhtml">Recruiter login</a>
                    <a href="apply.xhtml">Apply to job</a>
                </div>
            </div>

            <div id="body">
                <div class="post">
                    <fieldset>
                        <legend>
                            Application
                        </legend>
                        <div class="text">
                            Oops, something went wrong! Make sure none of the fiels are empty.
                            <h:form>
                                <table>
                                    <tr>
                                        <td>
                                                Name:
                                        </td>
                                        <td>
                                            <h:inputText value ="#{userManager.name}"/>
                                        </td>

                                    </tr>
                                    
                                    <tr>
                                        <td>
                                            Surname:
                                        </td>
                                        <td>
                                            <h:inputText value ="#{userManager.surname}"/>
                                        </td>
                                    </tr>
                               
                                    <tr>
                                        <td>
                                            Email:
                                        </td>
                                        <td>
                                           <h:inputText value ="#{userManager.email}"/>
                                        </td>
                                    </tr>
                                </table>
                                
                                <p>
                                    <h:commandButton value="Enter" action="#{userManager.checkInfo}"/>
                                </p>
                            </h:form>
                        </div>
                    </fieldset>
                </div>
            </div>

            <div id="footer">
                <div class="right">
                </div>
                <p>
                    <ui:include src="include.xhtml" />
                </p>
            </div>
        </div>
    </h:body>
</html>


